package repository

import (
	"fmt"
	"github.com/gin-gonic/gin"
)

type CommonRepository interface {
	Test(ctx *gin.Context)
}

func NewCommonRepository(r *Repository) CommonRepository {
	return &commonRepository{
		Repository: r,
	}
}

type commonRepository struct {
	*Repository
}

func (r *commonRepository) Test(ctx *gin.Context) {
	fmt.Println("commonRepository Test", ctx.Request.Header)
}
